<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>
<script src="https://cdn.bootcss.com/crypto-js/3.1.9/crypto-js.min.js"></script>
 <!-- use xlsx.full.min.js from version 0.20.1 -->
 <script lang="javascript" src="https://cdn.sheetjs.com/xlsx-0.20.1/package/dist/xlsx.full.min.js"></script>
 <link rel="stylesheet" href="../css/userManager.css">
 <title>用户管理</title>
<body>
    <table id="userTable">
        
    </table>
    
    <table id="managerTable">
        <tr>
            <td>
               <input type="text" name="" id="newUserName">
            </td> 
            <td>
               <input type="password" name="" id="newUserPwd">
            </td>
            <td>
                <select id="newUserType">
                    <option value="管理员">管理员</option>
                    <option value="学生">学生</option>
                </select>
            </td>
            
             <td>
                <button onclick="addUser()" id="addUser" >添加新用户</button>
             </td>
        </tr>
        <tr>
            
            <td colspan="4">
                <h4>导入导出</h4>
                <input type="file" id="fileSelect" style="width: 80px;color: transparent;">
                <button id="importQuestion" onclick="importUser()">点击导入</button>
                <button><a href="../file/sample1.xlsx">下载模板文件</a></button>
                <button onclick="exportUser()">下载用户列表</button>
            </td>
    </table>



</body>
<script src="../js/golbal.js"></script>
<script src="../js/userManager.js"></script>
</html>